package com.xyazm.product.mapstruct;

import com.xyazm.product.domain.dto.ProductSkuDTO;
import com.xyazm.product.domain.entity.ProductSkuDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 商品sku api mapstruct
 * @author xuyou
 * @date 2022年05月15日 21:53
 */
@Mapper
public interface ProductSkuApiMapstruct {

    ProductSkuApiMapstruct INSTANCE = Mappers.getMapper(ProductSkuApiMapstruct.class);

    ProductSkuDTO convertProductSkuDTO(ProductSkuDO param);

    List<ProductSkuDTO> convertProductSkuDTOs(List<ProductSkuDO> param);

}
